package com.greatwqs.wmall.task.provider.service.client;

import com.greatwqs.wmall.task.client.model.TaskResponse;
import com.greatwqs.wmall.task.client.service.TaskClientService;

import lombok.extern.slf4j.Slf4j;

import org.apache.dubbo.config.annotation.DubboService;

/**
 * @author wang-qingsong
 * @since 2017-09-20
 */
@Slf4j
@DubboService
public class TaskClientServiceImpl implements TaskClientService {

    @Override
    public TaskResponse getTaskResponse() {
        log.info("TaskClientServiceImpl.getTaskResponse() is called.");
        return new TaskResponse(System.currentTimeMillis(), "TaskClientServiceImpl");
    }
}
